@import "header";
@import "menu";

.w {
  .header {
    padding: 15px 0 10px 0;
    overflow: hidden;
    .logo {
      width: 270px;
      padding-left: 5px;
      position: relative;
      float: left;
      .link1 {
        display: block;
      }
      .link2 {
        position: absolute;
        right: 0;
        top: 10px;
        background: white;
        b {
          display: block;
          width: 100px;
          height: 40px;
        }
      }
    }
  }
}

.cart-search {
  float: right;
  border: 2px solid #c91623;
  height: 24px;
  margin-top: 20px;
  overflow: hidden;
  #search {
    width: 260px;
    height: 18px;
    padding: 3px 5px;
    color: rgb(153, 153, 153);
    float: left;
  }
  #btn {
    width: 48px;
    height: 24px;
    float: left;
    background: #c91623;
    color: white;
    text-align: center;
    font-weight: 700;
  }
}
input,
select,
textarea {
    outline: none;
    border: none;
    background: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    background-image: -webkit-linear-gradient(transparent, transparent);
    background-image: linear-gradient(transparent, transparent);
    font-family: "Helvetica", "Arial";
}

.empty-cart {
  height: 98px;
  padding: 80px 0 120px;
  color: #333;
}

.empty-cart-msg {
  height: 98px;
  line-height: 20px;
  font-size: 14px;
  padding-left: 341px;
  padding-top: 25px;
  a {
    display: block;
    color: #005ea7;
  }
}

.cart-top {
  margin-top: 10px;
}

.cart-top-left {
  height: 26px;
  font-size: 16px;
  line-height: 36px;
  float: left;
  font-weight: 700;
  a {
    color: #e4393c;
    em {
      margin-right: 5px;
    }
  }
}

.cart-top-right {
  float: right;
  margin-bottom: 10px;
  span {
    height: 26px;
    line-height: 26px;
    float: left;
  }
  .jdarea {
    height: 26px;
    float: left;
  }
}

.jdarea {
  .areawrap {
    float: left;
    position: relative;
    top: 0;
    height: 23px;
    background: #fff;
    border: 1px solid #cecbce;
    padding: 0 20px 0 4px;
    line-height: 23px;
    overflow: hidden;
  }
}

.areawrap {
  b {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 17px;
    height: 24px;
    background-position: 0 0;
    overflow: hidden;
  }
}

.cart-top {
  .footline {
    clear: both;
    height: 1px;
    background: #e0e0e0;
    position: relative;
  }
}

.footline {
  .line {
    width: 80px;
    height: 2px;
    background: #e4393c;
    position: absolute;
    z-index: 2;
  }
}

.cart-wrap {
  background: #fff;
  margin-bottom: 20px;
}

.cart-thead {
  height: 32px;
  line-height: 32px;
  margin: 0 0 10px;
  padding: 5px 0;
  background: #f3f3f3;
  border: 1px solid #e9e9e9;
  border-top: 0;
}

.cart-col {
  float: left;
}

.t-checkbox {
  height: 18px;
  line-height: 18px;
  padding-top: 7px;
  width: 122px;
  padding-left: 11px;
}

.cart-checkbox input {
  margin-right: 5px;
}

.t-goods {
  width: 208px;
}

.t-props {
  width: 140px;
  height: 32px;
  padding: 0 20px;
  text-align: right;
}

.t-prices {
  width: 120px;
  padding-right: 40px;
  text-align: right;
  height: 32px;
}

.t-quantity {
  text-align: center;
  width: 80px;
}

.t-sum {
  width: 100px;
  padding-right: 40px;
  text-align: right;
}

.cart-item-list {
  margin-bottom: 20px;
  .shop {
    height: 30px;
    line-height: 30px;
    padding-left: 11px;
    font-weight: 700;
  }
}

.shop {
  .shop-ex {
    float: right;
    font-weight: 400;
    span {
      display: inline-block;
      width: 18px;
      height: 18px;
      margin: -3px 0 0 5px;
      vertical-align: middle;
    }
  }
  .shop-info {
    float: left;
    width: 538px;
    a {
      display: block;
      margin-top: 6px;
      width: 54px;
      height: 18px;
    }
  }
  .cart-checkbox {
    float: left;
  }
}
.item-list {
  border-style: solid;
  border-width: 2px 1px 1px;
  border-color: #aaa #f1f1f1 #f1f1f1;
  background: #fff;
}

.item-head {
  height: 26px;
  padding: 5px 10px;
  overflow: hidden;
  .header-left {
    width: 750px;
    line-height: 26px;
    float: left;
  }
}

.header-left-p1 {
  color: #666;
  span {
    margin: 0 10px 0 5px;
    padding: 1px 10px;
    border: 1px solid #f48719;
    background: #f48719;
    color: white;
    position: relative;
    b {
      position: absolute;
      display: block;
      width: 5px;
      height: 6px;
      left: -1px;
      bottom: -5px;
    }
  }
}

.header-left-p2 {
  margin-left: 20px;
  padding: 0 5px;
  border-radius: 2px;
  background: #e74649;
  color: white;
  display: inline-block;
  height: 19px;
  line-height: 19px;
}

.header-price {
  width: 100px;
  float: left;
  text-align: right;
}

.goods-item {
  padding: 0 10px 0 40px;
  position: relative;
  .b-goods {
    width: 300px;
    padding: 15px 0 10px 0;
    .goods-name {
      .goods-pic {
        width: 82px;
        height: 82px;
        margin-right: 10px;
        border: 1px solid #eee;
        float: left;
        img {
          width: 80px;
          height: 80px;
        }
      }
    }
  }
  .cart-checkbox input {
    position: absolute;
    z-index: 2;
  }
}

.goods-info {
  border-top: 1px solid #f1f1f1;
  overflow: hidden;
}

.cell {
  float: left;
}

.b-checkbox {
  position: absolute;
  left: 10px;
  width: 30px;
  height: 20px;
  padding: 15px 0 10px 0;
}

.cart-checkbox {
  .line-circle {
    position: absolute;
    left: 2px;
    top: -5px;
    display: block;
    width: 7px;
    height: 29px;
  }
}

.goods-d-info {
  height: 40px;
  line-height: 20px;
  overflow: hidden;
}

.goods-ex {
  margin-top: 2px;
  .promise {
    margin: 0 10px 0 0;
    display: block;
    min-height: 18px;
    line-height: 18px;
    margin-bottom: 2px;
    i {
      display: inline-block;
      width: 17px;
      height: 16px;
      vertical-align: middle;
    }
    a {
      display: inline-block;
      padding: 1px 4px 0 7px;
      height: 15px;
      line-height: 15px;
      vertical-align: middle;
    }
  }
}

.b-props {
  height: 80px;
  padding: 15px 10px 0 10px;
  overflow: hidden;
  .prop-text {
    width: 160px;
  }
}

.b-price {
  width: 120px;
  padding: 15px 40px 10px 0;
  overflow: hidden;
  text-align: right;
  .sales-promotion {
    display: block;
    width: 53px;
    border: 1px solid #f9d2d3;
    color: #e4393c;
    height: 18px;
    text-align: left;
    line-height: 17px;
    padding: 0 15px 0 8px;
    cursor: pointer;
    background: #fff;
    text-decoration: none;
    float: right;
    overflow: hidden;
    position: relative;
    b {
      display: inline-block;
      width: 7px;
      height: 4px;
      position: absolute;
      right: 8px;
      top: 8px;
    }
  }
}

.b-quantity {
  width: 80px;
  padding: 15px 0 10px;
  .quantity-form {
    position: relative;
    overflow: hidden;
    height: 20px;
    border: 1px solid #cacbcb;
    a {
      display: inline-block;
      height: 18px;
      line-height: 18px;
      padding: 1px 0;
      width: 16px;
      text-align: center;
      color: #666;
      margin: 0;
      background: #fff;
      float: left;
    }
    .quantity-down {
      border-right: 1px solid #cacbcb;
    }
    .quantity-add {
      border-left: 1px solid #cacbcb;
    }
    input {
      width: 44px;
      height: 22px;
      float: left;
      text-align: center;
      background: #ffffff;
    }
  }
}

.quantity-text {
  text-align: center;
  height: 20px;
  line-height: 20px;
}

.b-sum {
  width: 100px;
  height: 20px;
  padding: 15px 40px 15px 0;
  text-align: right;
  strong {
    color: red;
    font-weight: 700;
    font-size: 14px;
  }
}

.b-action {
  padding: 15px 0 10px 0;
  a {
    display: block;
    width: 75px;
    height: 20px;
  }
}
#cart-floatbar {
  width: 1158px;
  height: 50px;
  border: 1px solid #f0f0f0;
  background: #f8f8f8;
  position: relative;
}

.select-all {
  float: left;
  height: 18px;
  line-height: 18px;
  padding: 16px 0 16px 9px;
}

.operation {
  float: left;
  height: 50px;
  width: 310px;
  line-height: 50px;
  a {
    margin-left: 20px;
    display: inline-block;
    height: 50px;
  }
}

.toolbar-right {
  overflow: hidden;
  .btn-area {
    float: right;
    a {
      display: block;
      width: 96px;
      height: 52px;
    }
  }
}

.price-sum {
  float: right;
  height: 43px;
  line-height: 38px;
  margin: 7px 0px 0 10px;
  color: #666;
  width: 220px;
  span {
    display: inline-block;
    width: 110px;
    height: 20px;
    float: left;
    text-align: left;
  }
  .txt {
    text-align: right;
  }
  .totalprice {
    font-size: 18px;
    color: #e4393c;
    font-weight: 700;
  }
}

.amount-sum {
  float: right;
  color: #999;
  height: 44px;
  line-height: 38px;
  margin: 7px 0 0;
  cursor: pointer;
  em {
    color: #e4393c;
    font-family: verdana;
    font-weight: 700;
    margin: 0 3px;
  }
  b {
    display: inline-block;
    width: 9px;
    height: 5px;
    vertical-align: middle;
  }
}

.tab {
  .mt {
    margin-bottom: 10px;
    height: 23px;
    line-height: 23px;
    .tab-item {
      display: inline-block;
      height: 18px;
      margin-right: 35px;
      padding-bottom: 3px;
      border-bottom: 2px solid #fff;
    }
    .curr {
      color: #e4393c;
      font-weight: 700;
      border-color: #e4393c;
    }
  }
}

.mc {
  height: 326px;
  position: relative;
  .guess-products {
    position: absolute;
    width: 100%;
    height: 100%;
    .goods-list-tab {
      position: absolute;
      right: 0;
      top: -26px;
      width: 60px;
      .tab-selected {
        width: 26px;
        background: #e4393c;
      }
      .s-item {
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-left: 3px;
        overflow: hidden;
        background: #aaa;
        border-radius: 4px;
      }
    }
  }
}

.guess-products {
  .panel-main {
    width: 100%;
    height: 100%;
    .goods-list {
      width: 100%;
      height: 100%;
      position: absolute;
    }
  }
}

.goods-list {
  ul {
    width: 100%;
    height: 100%;
    overflow: visible;
    li {
      float: left;
      .goodsinfo {
        position: relative;
        width: 206px;
        padding: 20px;
        background: #fff;
        margin: -1px 0 0 -1px;
        border: 1px dashed #cacaca;
        overflow: hidden;
        .p-img {
          width: 160px;
          margin: 0 auto;
          img {
            vertical-align: middle;
            width: 160px;
            height: 160px;
          }
        }
      }
      .goodsinfo:hover {
        z-index: 2;
        border: 1px solid #e4393c;
      }
    }
  }
}

.p-name {
  height: 36px;
  line-height: 18px;
  margin: 5px 0;
  overflow: hidden;
}

.p-price {
  width: 100%;
  margin: 5px 0 2px;
  overflow: hidden;
  text-align: center;
  strong {
    font-size: 14px;
    color: #d91f20;
    font-family: verdana;
    font-weight: 400;
  }
}

.p-btn {
  margin: 10px 0 0;
  text-align: center;
  b {
    display: inline-block;
    height: 18px;
    width: 18px;
    margin-right: 5px;
    overflow: hidden;
    vertical-align: middle;
  }
  a {
    display: inline-block;
    height: 28px;
    line-height: 28px;
    padding: 0 20px;
    border: 1px solid #999;
    color: #666;
    text-align: center;
    border-radius: 3px;
  }
  a:hover {
    border: 1px solid #e4393c;
    background: #e4393c;
    color: white;
  }
}

.favorite-products {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  .favorite-products-main {
    margin-top: 10px;
    text-align: center;
    line-height: 326px;
  }
}

.history-products {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
}

.slider-page-btn {
  display: none;
  a {
    position: absolute;
    display: block;
    top: 50%;
    margin-top: -31px;
    z-index: 3;
    display: block;
    width: 28px;
    height: 62px;
    line-height: 62px;
    background: gray;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    font-family: simsun;
  }
}

.left-btn {
  left: 0;
}

.right-btn {
  right: 0;
}
.w img {
  width: 100%;
}
.btn-area {
  width: 130px;
  img {
    display: inline-block;
    margin-top: 12px;
    width: 120%;
    height: 60%;
  }
}
